-
Notifications
You must be signed in to change notification settings - Fork 4
Fix custom theme variables used #863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
setResizedTreePercentage(newPercentage); | ||
} | ||
}; | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MAybe you could remove this line ? because you change to _event
?
onSortChanged={onSortChanged} | ||
getRowId={(row) => row.data[FieldConstants.AG_GRID_ROW_UUID]} | ||
theme="legacy" | ||
sx={useMemo(() => style(cssProps).grid, [cssProps])} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hum Rules of Hooks : Only call Hooks at the top level, I don't like this useMemo called in the JSX...
fontSize: 'calc(var(--ag-font-size) + 1px)', | ||
paddingLeft: 'calc(var(--ag-cell-horizontal-padding) - 1px)', | ||
width: '100%', | ||
const style = (customProps: CSSObject) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this customProps
as parameter of the style object ?
Following #855
Content:
CustomAgGridTable
, already done byCustomAGGrid
CancelButton
custom color